package com.windgo.service;

import com.windgo.bean.bo.wxgoods.*;
import com.windgo.bean.bo.GoodsCreateBo;
import com.windgo.bean.MarketGoods;
import com.windgo.bean.vo.CatAndBrandVo;
import com.windgo.bean.vo.GoodsDetailVo;
import com.windgo.bean.common.BasePageInfo;
import com.windgo.bean.common.CommonData;
import com.windgo.bean.vo.WxGoodsDetailsVo;

/**
 * @Author:ZhouXin
 * @Date:2022/10/11 20:03
 * @Description:
 **/
public interface GoodsService {
    GoodsWxRelatedVo goodsWxRelated(Integer id);
    GoodsWxListVo goodsWxList(GoodsWxListBo goodsWxListBo,Integer id);
    Integer countNum();
    WxCategoryBo category(Integer id);
    WxGoodsListBo list(Integer categoryId,Integer page,Integer limit);

    CommonData<MarketGoods> list(BasePageInfo info, Integer goodsId, Integer goodsSn, String name);

    GoodsDetailVo detail(Integer id);

    CatAndBrandVo catAndBrand();

    void create(GoodsCreateBo goodsCreateBo);

    void update(GoodsCreateBo goodsCreateBo);

    void delete(Integer goodsId);

    CommonData<MarketGoods> listLimit();


    WxGoodsDetailsVo wxDetail(Integer id);
}
